package com.njupt.yanglonglong.report.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.njupt.yanglonglong.report.demo.entity.Course;
import com.njupt.yanglonglong.report.demo.entity.CourseExperiment;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author yangllong
 * @Date 2021/4/23 19:22
 */
@Repository
public interface CourseMapper extends BaseMapper<Course> {

    List<Course> getCoursesByTeacherId(String teacherId);
    List<CourseExperiment> getExperimentByTeacherId(String teacherId);

    List<Course> getStuCourseList(String stuId);
}
